package com.leisai.manager.dao;
import org.apache.ibatis.annotations.Param;

import com.leisai.manager.dto.ReportDTO;
import com.leisai.manager.pojo.BaseAdminRole;
import com.leisai.manager.pojo.Report;
import org.springframework.stereotype.Repository;
import tk.mapper.MyMapper;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@Repository
public interface ReportMapper{
    int deleteByPrimaryKey(Integer reportId);

    int insert(Report record);

    Report selectByPrimaryKey(Integer reportId);

    int updateByPrimaryKey(Report record);

    List<ReportDTO> getReportList(ReportDTO reportDTO);

    int initReport(ReportDTO reportDTO);

    ReportDTO selectOneByAll(ReportDTO reportDTO);


}